package com.android.aircondition.service;


public class Mode {
	
	public static final String MODE_AUTO     = "MODE_AUTO";
	public static final String MODE_ZHILENG  = "MODE_ZHILENG";
	public static final String MODE_SONGFENG = "MODE_SONGFENG";
	public static final String MODE_CHUSHI   = "MODE_CHUSHI";
	public static final String MODE_ZHIRE    = "MODE_ZHIRE";
	
	private boolean auto;
	private boolean zhileng;
	private boolean songfeng;
	private boolean chushi;
	private boolean zhire;
	
	public boolean getAuto() {
		return auto;
	}
	public void setAuto(boolean auto) {
		initPreference();
		this.auto = auto;
	}
	public boolean getZhileng() {
		return zhileng;
	}
	public void setZhileng(boolean zhileng) {
		initPreference();
		this.zhileng = zhileng;
	}
	public boolean getSongfeng() {
		return songfeng;
	}
	public void setSongfeng(boolean songfeng) {
		initPreference();
		this.songfeng = songfeng;
	}
	public boolean getChushi() {
		return chushi;
	}
	public void setChushi(boolean chushi) {
		initPreference();
		this.chushi = chushi;
	}
	public boolean getZhire() {
		return zhire;
	}
	public void setZhire(boolean zhire) {
		initPreference();
		this.zhire = zhire;
	}

	private void initPreference(){
		
		this.auto = false;
		this.zhileng = false;
		this.songfeng = false;
		this.chushi = false;
		this.zhire = false;
	}
}
